﻿using Admin.NET.Core;
using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin.NET.Core
{
    /// <summary>
    /// 计划表
    /// </summary>
    [Table("IT_Plan_Info")]
    [Comment("计划表")]
    public class PlanInfo: DEntityBase
    {
        /// <summary>
        /// 计划名称
        /// </summary>
        [Comment("计划名称")]
        [MaxLength(40)]
        public string PlanName { get; set; }
        /// <summary>
        /// 计划GPS
        /// </summary>
        [Comment("计划GPS")]
        public string PlanGPS { get; set; }
        /// <summary>
        /// 计划类型
        /// </summary>
        [Comment("计划类型")]
        [MaxLength(4)]
        public string PlanType { get; set; }
        /// <summary>
        /// 计划状态
        /// </summary>
        [Comment("计划状态")]
        [MaxLength(4)]
        public string PlanStatus { get; set; }
        /// <summary>
        /// 巡检车ID
        /// </summary>
        [Comment("巡检车ID")]
        public long CarId { get; set; }
        /// <summary>
        /// 评分ID
        /// </summary>
        [Comment("评分ID")]
        public long ScoreId { get; set; }
        /// <summary>
        /// 评分值
        /// </summary>
        [Comment("评分值")]
        [MaxLength(10)]
        public string ScoreNum { get; set; } = "-";
        /// <summary>
        /// 巡检时间
        /// </summary>
        [Comment("巡检时间")]

        public DateTime CarryDt { get; set; }
        /// <summary>
        /// 计划时间
        /// </summary>
        [Comment("计划时间")]

        public DateTime PlanDt { get; set; }
    }
}
